<style>
    .pagination .current{
        float: left;
    padding: 0 14px;
    line-height: 38px;
    text-decoration: none; 
    border-left-width: 0;
    }
        
</style>
<div id="topbar" class="top-navigation dark-bg ">
            <nav class="navbar   dark-bg " role="navigation" style="width:85%;margin:auto;">
                <div class="navbar-header" style="width:200px;">
                    <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
                        <i class="fa fa-reorder"></i>
                    </button>
                    <a class="navbar-brand" href="{:U('Index/index')}">小易出行</a>
                </div>
                <div class="navbar-collapse collapse" id="navbar">
                    <ul class="nav navbar-nav dark-bg">
                        

                        <li <if condition="$table eq 'index'">class="active"</if>>
                            <a href="{:U('Index/index')}"> 首页</a>
                        </li>

                        <li <if condition="$table eq 'order'">class="active"</if>>
                            <a href="{:U('Order/orderadmin')}">订单管理</a>
                        </li>

                        <li <if condition="$table eq 'pay'">class="active"</if>>
                            <a href="{:U('Pay/paycount')}">交易中心</a>
                        </li>
                        <li <if condition="$table eq 'article'">class="active"</if>>
                            <a href="{:U('Article/lst')}">文章</a>
                        </li>
                        <li <if condition="$table eq 'wx'">class="active"</if>>
                            <a href="{:U('Wx/wx_menu/wid/1')}">微信管理</a>
                        </li>
                        <li <if condition="$table eq 'line'">class="active"</if>>
                            <a href="{:U('Line/lineadmin')}">线路管理</a>
                        </li>
                        <li <if condition="$table eq 'user'">class="active"</if>>
                            <a href="{:U('User/userinfo')}">用户管理</a>
                        </li>
                        <li <if condition="$table eq 'useradmin'">class="active"</if>>
                            <a href="{:U('Useradmin/userinfo')}">系统管理</a>
                        </li>

                    </ul>
                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown" style="position:relative;" onclick="$(this).find('span').toggleClass('deg180')">
                                <name style="width: 80px;white-space:nowrap;overflow:hidden;text-overflow: ellipsis;display: block;text-align: center">{:session('username')}</name>
                                <span class="caret" style="position: absolute;top: 22px;right: 12px;"></span></a>
                            <ul role="menu" class="dropdown-menu">
                                <li>
                                    <a onclick="return confirm('您确定要退出吗？')" tabindex="-1" href="{:U('Login/Logout')}">退出</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>